using UnityEngine.Events;

// 定义可交互接口
public interface IInteractable
{
    // 当交互完成时触发的事件
    public UnityAction<IInteractable> OnInteractionComplete { get; set; }

    // 进行交互操作
    public void Interact(Interactor interactor, out bool interactSuccessful);

    // 结束交互
    public void EndInteraction();
}